<%@ page contentType="text/html; charset=utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人信息管理</title>
<link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="../style/style.css" />

<%@ taglib prefix="s" uri="/struts-tags" %>
<s:head theme="simple"/>

<script type="text/javascript">
	function update()
	{
		employeeInfo.submit();
	}
	function updatePwd()
	{
		employeePwd.submit();
	}
</script>

</head>
<body>
<s:actionerror />
<s:hidden name="editState" value="0"></s:hidden>

<table width="1000" cellpadding="0" cellspacing="0" class="table">
  <tr>
    <td>
      <table width="100%" cellpadding="0" cellspacing="0" class="table2">
        <tr>
          <td valign="top">

        <div class="mainarea">
          <div class="search" style="padding:10px">
            
			<s:form id="employeeInfo" name="employeeInfo" action="employee!modifyPersonalInfo" method="post" theme="simple">
              <table cellpadding="0" cellspacing="0" width="100%" class="table4">
                  <tbody id="tbody_2" >
	                  <tr>
	                    <th height="25" colspan="4" bgcolor="#BBD2F7" class="title">员工基本信息</th>
	                  </tr>
	                  <tr>
	                    <th width="105" align="right"> 员工编号： </th>
	                    <td width="330">
	                    	<s:property value="employee.employeeId" default="" />
	                    </td>
	                    <th width="95" align="right"> 中 文 名： </th>
	                    <td width="424">
	                    	<s:property value="employee.employeeNameC" default="" />
	                   	</td>
	                  </tr>
	                  <tr>
	                    <th height="19" align="right">所属分公司：</th>
	                    <td>
	                    	<s:property value="employee.companyName" default="" />
	                    </td>
	                    <th align="right">英 文 名：</th>
	                    <td>
	                    	<s:property value="employee.employeeNameE" default="" />
	                    </td>
	                  </tr>
	                  <tr>
	                    <th height="30" align="right">入司日期：</th>
	                    <td>
	                    	<s:date name="employee.enterDate" format="yyyy-MM-dd" />
	                    </td>
	                    <th height="19" align="right">身份证号：</th>
	                    <td>
	                    	<s:property value="employee.employeeIdcard" default="" />
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">部&nbsp;&nbsp;&nbsp;&nbsp;门：</th>
	                    <td>
	                    	<s:property value="employee.departNameC" default="" />
	                    </td>
	                    <th align="right">性&nbsp;&nbsp;&nbsp;&nbsp;别：</th>
	                    <td>
	                    	<s:property value="employee.employeeSex" default="" />
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">职&nbsp;&nbsp;&nbsp;&nbsp;位：</th>
	                    <td>
	                    	<s:property value="employee.employeeposition.positionName" default="" />
	                    </td>
	                    <th align="right">出生日期：</th>
	                    <td>
	                    	<s:date name="employee.employeeBornDate" format="yyyy-MM-dd" />
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">就职状态：</th>
	                    <td>
	                    	<s:property value="employee.employeeStatu" default="" />
	                    </td>
	                    <th align="right">婚姻状况：</th>
	                    <td>
	                    	<s:radio name="employee.employeeMarrige" list="#{true:'已婚',false:'未婚'}" listKey="key" listValue="value" cssStyle="width:20px;border:none;margin:0"></s:radio>
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">学&nbsp;&nbsp;&nbsp;&nbsp;历：</th>
	                    <td>
	                    	<s:property value="employee.employeeEdu" default="" />
	                    </td>
	                    <th align="right">传&nbsp;&nbsp;&nbsp;&nbsp;真：</th>
	                    <td>
	                    	<s:textfield name="employee.employeefax"></s:textfield>
						</td>
	                  </tr>
	                  <tr>
	                    <th align="right">押&nbsp;&nbsp;&nbsp;&nbsp;金：</th>
	                    <td>
	                    	<s:property value="employee.edeposit" default="0" />
	                    </td>
	                    <th align="right">电&nbsp;&nbsp;&nbsp;&nbsp;话：</th>
	                    <td>
	                    	<s:textfield name="employee.employeeTel"></s:textfield>
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">代理证号：</th>
	                    <td>
	                    	<s:property value="employee.eadgen" default="" />
	                    </td>
	                    <th align="right">手&nbsp;&nbsp;&nbsp;&nbsp;机：</th>
	                    <td>
	                    	<s:textfield name="employee.employeePh"></s:textfield>
	                   	</td>
	                  </tr>
	                  <tr>
	                    <th align="right">展业证号：</th>
	                    <td>
	                    	<s:property value="employee.ezhanye" default="" />
	                    </td>
	                    <th align="right">电子邮件：</th>
	                    <td>
	                    	<s:textfield name="employee.employeeemail"></s:textfield>
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">有效期至：</th>
	                    <td>
	                    	<s:date name="employee.evalidate" format="yyyy-MM-dd" />
	                    </td>
	                    <th align="right">详细地址：</th>
	                    <td>
	                    	<s:textfield name="employee.employeeAddress"></s:textfield>
	                    </td>
	                  </tr>
	                  <tr>
	                    <th align="right">合&nbsp;同&nbsp;号：</th>
	                    <td>
	                    	<s:property value="employee.contacct" default="" />
	                    </td>
	                    <th align="right">邮&nbsp;&nbsp;&nbsp;&nbsp;编：</th>
	                    <td>
	                    	<s:textfield name="employee.employeePc"></s:textfield>
	                    </td>
	                  </tr>
	                  <tr>
	                    <th colspan="4">&nbsp;</th>
	                  </tr>
                  </tbody>
                </table>
              </s:form>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td background="#ffffff" style="border:solid 1px #A8CFEB">&nbsp;</td>
                  </tr>
                </table>
                <table width="100%" cellpadding="0" cellspacing="0" class="table3">
                    <tr>
                        <td width="6%" class="title">&nbsp;</td>
                        <td width="5%" ></td>
                        <td width="5%" >&nbsp;</td>
                        <td width="5%" >&nbsp;</td>
                        <td width="5%" >&nbsp;</td>
                        <td width="5%" >&nbsp;</td>
                        <td width="18%" >&nbsp;</td>
                        <td width="5%" ><a href="javascript:update();"><span class="clientinfo_but">保&nbsp;存</span></a></td>
                        <td width="5%" ><span class="clientinfo_but">取&nbsp;消</span></td>
                      
                        <td width="5%" ></td>  
                        <td width="14%" >&nbsp;</td>
                    </tr>
                </table>
            </div>
            <div class="search" style="text-align:center">
              <s:form id="employeePwd" name="employeePwd" action="employee!modifyPassword" method="post" theme="simple">
            	<table cellpadding="0" cellspacing="0" width="100%" class="table4">
                	<tr>
                    	<th height="25" colspan="3" bgcolor="#BBD2F7" class="title">修改密码</th>
                    </tr>
            		<tr>
                    	<td>&nbsp;原&nbsp;密&nbsp;码：<s:password name="oldpassword" id="oldpassword" maxlength="20" /></td>
                        <td>&nbsp;新&nbsp;密&nbsp;码：<s:password name="password" id="password" maxlength="20" /></td>
                        <td>&nbsp;验证密码：<s:password name="cnfpassword" id="cnfpassword" maxlength="20" /></td>
                	</tr>
                </table>
              </s:form>
                <table width="100%" cellpadding="0" cellspacing="0"class="table3">
                    <tr>
                        <td width="6%" class="title">&nbsp;</td>
                        <td width="5%" ></td>
                        <td width="5%" >&nbsp;</td>
                        <td width="5%" >&nbsp;</td>
                    	<td width="10%"><s:fielderror /></td>
                        <td width="18%" >&nbsp;</td>
                        <td width="5%" >
                        	<a href="javascript:updatePwd();"><span class="clientinfo_but">保&nbsp;存</span></a>
                        </td>
                        <td width="5%" ><span class="clientinfo_but">取&nbsp;消</span></td>
                        <td width="5%" ></td>  
                        <td width="14%" >&nbsp;</td>
                    </tr>
                </table>
            </div>
	        <div class="search" style="padding:10px">
	        	<table cellpadding="0" cellspacing="0" width="100%" class="table4">
					<tr>
					  <th height="25" colspan="4" bgcolor="#BBD2F7" class="title">员工附加信息</th>
					</tr>
	        		<tr>
	        			<th width="105" align="right">推荐人编号：</th>
	        			<td width="330">
	        				<s:property value="addition.recommenderId" />
	        			</td>
	        			<th width="150" align="right">招&nbsp;&nbsp;募&nbsp;&nbsp;人&nbsp;&nbsp;编&nbsp;&nbsp;号：</th>
	        			<td width="380">
	        				<s:property value="addition.recruiterId" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">担保人(1)姓名：</th>
	        			<td>
	        				<s:property value="addition.guar1" />
	        			</td>
	        			<th align="right">担&nbsp;保&nbsp;人(1)&nbsp;身&nbsp;份&nbsp;证：</th>
	        			<td>
	        				<s:property value="addition.guar1idcard" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">担保人(2)姓名：</th>
	        			<td>
	        				<s:property value="addition.guar2" />
	        			</td>
	        			<th align="right">担&nbsp;保&nbsp;人(2)&nbsp;身&nbsp;份&nbsp;证：</th>
	        			<td>
	        				<s:property value="addition.guar2idcard" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">是否属于转司：</th>
	        			<td>
	        				<s:property value="addition.isTurnIn" />
	        			</td>
	        			<th align="right">试&nbsp;&nbsp;用&nbsp;&nbsp;期&nbsp;&nbsp;标&nbsp;&nbsp;志：</th>
	        			<td>
	        				<s:property value="addition.isTrial" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">直接主任编号：</th>
	        			<td>
	        				<s:property value="addition.ddirecterId" />
	        			</td>
	        			<th align="right">转&nbsp;司&nbsp;四&nbsp;联&nbsp;单&nbsp;编&nbsp;号：</th>
	        			<td>
	        				<s:property value="addition.turnInId" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">育成主任编号：</th>
	        			<td>
	        				<s:property value="addition.bdirecterId" />
	        			</td>
	        			<th align="right">直接辅导津贴提取时间：</th>
	        			<td>
	        				<s:date name="addition.dallowancedate" format="yyyy-MM-dd" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">增员主管编号：</th>
	        			<td>
	        				<s:property value="addition.zycompetent" />
	        			</td>
	        			<th align="right">育成辅导津贴提取时间：</th>
	        			<td>
	        				<s:date name="addition.ballowanceDate" format="yyyy-MM-dd" />
	        			</td>
	        		</tr>
	        		<tr>
	        			<th align="right">备&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
	        			<td colspan="3">
	        				<s:property value="addition.note" />
	        			</td>
	        		</tr>
	        	</table>
	        </div>
          </div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
